package com.thread.threadTest;

/**
 * Test--bdqnPractice
 *
 * @author: Jovi
 * @createTime: 2017-09-05 13:39
 **/
public class Test {

    public static void main(String[] args) {
        //实例化线程
        TheThread tt = new TheThread();
        tt.start();//启动线程
        int k = 0;
        while (k < 0) {
            try {
                //线程休眠
                Thread.sleep(3000);
                System.out.println("hello");
                k++;
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }

}
